package com.haixiaoke.saas.house.domain;

import com.haixiaoke.saas.common.annotation.Excel;
import com.haixiaoke.saas.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 房屋相册信息对象 biz_house_picture
 *
 * @author xiaolong
 * @date 2024-10-22
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class HousePicture extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 房屋相册id
     */
    private Long housePictureId;

    /**
     * 房屋id
     */
    @Excel(name = "房屋id")
    private String houseId;

    /**
     * 房间名称
     */
    @Excel(name = "房间名称")
    private String premisesAddress;

    /**
     * 房屋相册类型：1.验房；2.清洁打扫；3.保洁；4.报修；5.看房；6.日常检查
     */
    @Excel(name = "房屋相册类型：1.验房；2.清洁打扫；3.保洁；4.报修；5.看房；6.日常检查")
    private String housePictureType;

    /**
     * 上传人
     */
    @Excel(name = "上传人")
    private String uploadUser;

    /**
     * 上传人用户id
     */
    @Excel(name = "上传人用户id")
    private Long uploadUserId;

    /**
     * 图片数量
     */
    @Excel(name = "图片数量")
    private Integer pictureNumber;

    /**
     * 图片集
     */
    @Excel(name = "图片集")
    private String pictureSet;

    /**
     * 租户id
     */
    @Excel(name = "租户id")
    private String tenantId;

    /**
     * 流程名称
     */
    @Excel(name = "流程名称")
    private String processName;

    /**
     * 设施状态：1.正常；2.已损坏
     */
    @Excel(name = "设施状态：1.正常；2.已损坏")
    private String facilitiesState;

    /**
     * 工单id
     */
    @Excel(name = "工单id")
    private String workOrderId;

    /**
     * 分组标识
     */
    @Excel(name = "分组标识")
    private String packetIdentification;

    public HousePicture(String houseId, String premisesAddress, String housePictureType, String uploadUser, Long uploadUserId, Integer pictureNumber, String pictureSet, String tenantId, String processName, String facilitiesState, String workOrderId, String packetIdentification) {
        this.houseId = houseId;
        this.premisesAddress = premisesAddress;
        this.housePictureType = housePictureType;
        this.uploadUser = uploadUser;
        this.uploadUserId = uploadUserId;
        this.pictureNumber = pictureNumber;
        this.pictureSet = pictureSet;
        this.tenantId = tenantId;
        this.processName = processName;
        this.facilitiesState = facilitiesState;
        this.workOrderId = workOrderId;
        this.packetIdentification = packetIdentification;
    }
}
